<template>
    <view>

        <view class="tui-actionsheet-class tui-actionsheet" :class="[show ? 'tui-actionsheet-show' : '']" style="bottom: 0;background: #F5F9FA;">
            <view class="container">
                <view class="title">
                    乐铺多找铺须知
                </view>
                <view class="label-container">
                    1. 平台提供找铺和转铺信息发布功能，双方可通过电话和留言方式进行沟通，平台建议优先选择电话。平台会对转铺信息进行人工审核，确保信息的真实性、可靠性。
                </view>
                <view class="label-container">
                    2. 找铺人也可直接联系在线客服，提出您的找铺需求，平台将分配客户经理与您沟通，随机提供符合您需求的转铺信息。由于平台处于发展初期，暂不收取任何费用，同时不提供线下带看服务。此外，平台客户经理资源有限，分配可能不及时或有遗漏，敬请谅解！
                </view>
                <view class="label-container">
                    感谢您对乐铺多的支持与信任！
                </view>
                <!-- <view class="sub-title">
                    选择最贴近你店铺特点的标签，方便求租人快速了解。
                </view> -->
                <!-- <view class="label-container">
                    <view @click="clickLabel(item)" v-for="(item, index) in allLabelList" :key="index" :class="[isActive(item) ? 'label label-ac' : 'label']">
                        {{ item.labelName }}
                    </view>
                </view> -->
                <view @click="confirmLabels" class="confirm-btn">我知道了</view>
            </view>
        </view>
        <view class="tui-actionsheet-mask" style="top:0" :class="[show ? 'tui-mask-show' : '']" @click="closeModel"></view>
    </view>
</template>
 
<script>
export default {
    name: "showPostDetailTipsSheet",
    emits: ['close', 'confirm'],
    components: {
    },
    props: {
        //显示操作菜单
        show: {
            type: Boolean,
            default: false
        },
    },
    created() {
    },
    data() {
        return {
        }
    },
    methods: {
        closeModel() {
            this.$emit('close')
        },
        confirmLabels() {
            this.$emit('close')
            // console.log('确认添加的标签', this.selectedLabelList)
            // this.$emit('confirm', this.selectedLabelList)
        },
    }
}
</script>
 
<style scoped lang="scss">
.tui-actionsheet {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    /* top: 0; */
    z-index: 9999;
    visibility: hidden;
    transform: translate3d(0, 100%, 0);
    transform-origin: center;
    transition: all 0.3s ease-in-out;
    // background: #eaeaec;
    // background: white;
    min-height: 100rpx;
    border-top-left-radius: 16rpx;
    border-top-right-radius: 16rpx;

    /* border-top-left-radius: 32rpx;
    border-top-right-radius: 32rpx; */
    // border-radius: 10rpx;

    // background: #333333;

    // box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.2);
}

.tui-actionsheet-show {
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

.tui-tips {
    width: 100%;
    padding: 30rpx 60rpx;
    // box-sizing: border-box;
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tui-operate-box {
    padding-bottom: 12rpx;
}

.tui-actionsheet-btn {
    width: 100%;
    height: 100rpx;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 36rpx;
    position: relative;
}

.tui-btn-last {
    padding-bottom: env(safe-area-inset-bottom);
}

.tui-actionsheet-divider::before {
    content: '';
    width: 100%;
    // border-top: 1rpx solid #d9d9d9;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.tui-actionsheet-cancel {
    color: #1a1a1a;
    padding-bottom: env(safe-area-inset-bottom);
}

.tui-actionsheet-hover {
    background: #f7f7f9;
}

.tui-actionsheet-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    // background: rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.25);
    z-index: 9996;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.tui-mask-show {
    opacity: 1;
    visibility: visible;
}

.container {
    // top: 546.02px;
    // width: 375px;
    // height: 265.98px;
    background: #F5F9FA;
}

.title {
    margin-top: 64rpx;
    margin-left: 52rpx;

    font-size: 40rpx;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.85);
}

.sub-title {
    margin-left: 48rpx;
    margin-top: 40rpx;
    font-size: 24rpx;
    font-weight: normal;
    color: #666666;
}

.label-container {
    margin-left: 52rpx;
    margin-right: 52rpx;
    margin-top: 64rpx;
    font-size: 32rpx;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-wrap: wrap;
    line-height: 1.5;
}

.label {
    //     width: 98px;
    // height: 32px;
    display: inline-block;
    border-radius: 8rpx;
    margin-bottom: 48rpx;
    margin-right: 32rpx;

    box-sizing: border-box;
    border: 1px solid #333333;
    padding: 16rpx 56rpx;
}

.label-ac {
    background: #F8D247;
}

.confirm-btn {

    border-radius: 48rpx;
    background: #F8D247;
    margin-left: 70rpx;
    margin-right: 70rpx;
    margin-top: 96rpx;
    margin-bottom: 64rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    /* padding-top: 42rpx; */
    /* padding-bottom: 42rpx; */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100rpx;
}
</style>